<!--/**-->
<!--* Created by PhpStorm.-->
<!--* User: ZhangYi-->
<!--* Date: 2010-12-28-->
<!--* Time: 10:12:42-->
<!--* To change this template use File | Settings | File Templates.-->
<!--*/-->
<table width="805" border="1">
    <tr>
        <td>视频ID</td>
        <td>缩略图</td>
        <td>标题</td>
        <td>作者</td>
        <td>发布时间</td>
        <td>预览</td>
    </tr>
<?php foreach ($videos as $video) { ?>
    <tr id="video_list_tr_<?php echo $video->getVideoId(); ?>">
        <td id="video_list_td_<?php echo $video->getVideoId();  ?>_id">
            <input type="checkbox" name="videoIds[]" value='<?php echo $video->getVideoId(); ?>'>
            <input type="hidden" id="video_list_<?php echo $video->getVideoId();  ?>_link"
                   value="<?php echo $video->getLink(); ?>">
        <?php echo $video->getVideoId(); ?>
        </td>
        <td id="video_list_td_<?php echo $video->getVideoId();  ?>_snapshotSmall">
        <?php echo $video->getSnapshotSmall();?></td>
        <td id="video_list_td_<?php echo $video->getVideoId();  ?>_title">
        <?php echo $video->getTitle();?></td>
        <td id="video_list_td_<?php echo $video->getVideoId();  ?>_artist">
        <?php echo $video->getArtist();?></td>
        <td id="video_list_td_<?php echo $video->getVideoId();  ?>_publishTime">
        <?php echo $video->getPublishTime();?></td>
        <td>
            <input type="button" value="预览"
                   onclick="showVideoPreView('<?php echo $video->getLink(); ?>');">
        </td>
    </tr>
<?php }?>
</table>
